<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Internationalization Functions</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ob-iconv-handler.html">ob_iconv_handler</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intro.intl.html">简介</a></div>
 <div class="up"><a href="refs.international.html">国际化与字符编码支持</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="book.intl" class="book">
 
 <h1 class="title">Internationalization Functions</h1>
 

 
 
 

 







 





 








 






 





 





 





 





 






 






 





 





 






 





 






 






 






 






 







 





 






 






 







 





<ul class="chunklist chunklist_book"><li><a href="intro.intl.html">简介</a></li><li><a href="intl.setup.html">安装／配置</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="intl.requirements.html">需求</a></li><li><a href="intl.installation.html">安装</a></li><li><a href="intl.configuration.html">运行时配置</a></li><li><a href="intl.resources.html">资源类型</a></li></ul></li><li><a href="intl.constants.html">预定义常量</a></li><li><a href="intl.examples.html">范例</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="intl.examples.basic.html">Basic usage of this extension</a></li></ul></li><li><a href="class.collator.html">Collator</a> — The Collator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="collator.asort.html">Collator::asort</a> — Sort array maintaining index association</li><li><a href="collator.compare.html">Collator::compare</a> — Compare two Unicode strings</li><li><a href="collator.construct.html">Collator::__construct</a> — Create a collator</li><li><a href="collator.create.html">Collator::create</a> — Create a collator</li><li><a href="collator.getattribute.html">Collator::getAttribute</a> — Get collation attribute value</li><li><a href="collator.geterrorcode.html">Collator::getErrorCode</a> — Get collator's last error code</li><li><a href="collator.geterrormessage.html">Collator::getErrorMessage</a> — Get text for collator's last error code</li><li><a href="collator.getlocale.html">Collator::getLocale</a> — Get the locale name of the collator</li><li><a href="collator.getsortkey.html">Collator::getSortKey</a> — Get sorting key for a string</li><li><a href="collator.getstrength.html">Collator::getStrength</a> — Get current collation strength</li><li><a href="collator.setattribute.html">Collator::setAttribute</a> — Set collation attribute</li><li><a href="collator.setstrength.html">Collator::setStrength</a> — Set collation strength</li><li><a href="collator.sortwithsortkeys.html">Collator::sortWithSortKeys</a> — Sort array using specified collator and sort keys</li><li><a href="collator.sort.html">Collator::sort</a> — Sort array using specified collator</li></ul></li><li><a href="class.numberformatter.html">NumberFormatter</a> — The NumberFormatter class<ul class="chunklist chunklist_book chunklist_children"><li><a href="numberformatter.create.html">NumberFormatter::create</a> — Create a number formatter</li><li><a href="numberformatter.formatcurrency.html">NumberFormatter::formatCurrency</a> — Format a currency value</li><li><a href="numberformatter.format.html">NumberFormatter::format</a> — Format a number</li><li><a href="numberformatter.getattribute.html">NumberFormatter::getAttribute</a> — Get an attribute</li><li><a href="numberformatter.geterrorcode.html">NumberFormatter::getErrorCode</a> — Get formatter's last error code.</li><li><a href="numberformatter.geterrormessage.html">NumberFormatter::getErrorMessage</a> — Get formatter's last error message.</li><li><a href="numberformatter.getlocale.html">NumberFormatter::getLocale</a> — Get formatter locale</li><li><a href="numberformatter.getpattern.html">NumberFormatter::getPattern</a> — Get formatter pattern</li><li><a href="numberformatter.getsymbol.html">NumberFormatter::getSymbol</a> — Get a symbol value</li><li><a href="numberformatter.gettextattribute.html">NumberFormatter::getTextAttribute</a> — Get a text attribute</li><li><a href="numberformatter.parsecurrency.html">NumberFormatter::parseCurrency</a> — Parse a currency number</li><li><a href="numberformatter.parse.html">NumberFormatter::parse</a> — Parse a number</li><li><a href="numberformatter.setattribute.html">NumberFormatter::setAttribute</a> — Set an attribute</li><li><a href="numberformatter.setpattern.html">NumberFormatter::setPattern</a> — Set formatter pattern</li><li><a href="numberformatter.setsymbol.html">NumberFormatter::setSymbol</a> — Set a symbol value</li><li><a href="numberformatter.settextattribute.html">NumberFormatter::setTextAttribute</a> — Set a text attribute</li></ul></li><li><a href="class.locale.html">Locale</a> — The Locale class<ul class="chunklist chunklist_book chunklist_children"><li><a href="locale.acceptfromhttp.html">Locale::acceptFromHttp</a> — Tries to find out best available locale based on HTTP &quot;Accept-Language&quot; header</li><li><a href="locale.canonicalize.html">Locale::canonicalize</a> — Canonicalize the locale string</li><li><a href="locale.composelocale.html">Locale::composeLocale</a> — Returns a correctly ordered and delimited locale ID</li><li><a href="locale.filtermatches.html">Locale::filterMatches</a> — Checks if a language tag filter matches with locale</li><li><a href="locale.getallvariants.html">Locale::getAllVariants</a> — Gets the variants for the input locale</li><li><a href="locale.getdefault.html">Locale::getDefault</a> — Gets the default locale value from the INTL global 'default_locale'</li><li><a href="locale.getdisplaylanguage.html">Locale::getDisplayLanguage</a> — Returns an appropriately localized display name for language of the inputlocale</li><li><a href="locale.getdisplayname.html">Locale::getDisplayName</a> — Returns an appropriately localized display name for the input locale</li><li><a href="locale.getdisplayregion.html">Locale::getDisplayRegion</a> — Returns an appropriately localized display name for region of the input locale</li><li><a href="locale.getdisplayscript.html">Locale::getDisplayScript</a> — Returns an appropriately localized display name for script of the input locale</li><li><a href="locale.getdisplayvariant.html">Locale::getDisplayVariant</a> — Returns an appropriately localized display name for variants of the input locale</li><li><a href="locale.getkeywords.html">Locale::getKeywords</a> — Gets the keywords for the input locale</li><li><a href="locale.getprimarylanguage.html">Locale::getPrimaryLanguage</a> — Gets the primary language for the input locale</li><li><a href="locale.getregion.html">Locale::getRegion</a> — Gets the region for the input locale</li><li><a href="locale.getscript.html">Locale::getScript</a> — Gets the script for the input locale</li><li><a href="locale.lookup.html">Locale::lookup</a> — Searches the language tag list for the best match to the language</li><li><a href="locale.parselocale.html">Locale::parseLocale</a> — Returns a key-value array of locale ID subtag elements.</li><li><a href="locale.setdefault.html">Locale::setDefault</a> — sets the default runtime locale</li></ul></li><li><a href="class.normalizer.html">Normalizer</a> — The Normalizer class<ul class="chunklist chunklist_book chunklist_children"><li><a href="normalizer.isnormalized.html">Normalizer::isNormalized</a> — Checks if the provided string is already in the specified normalization
   form.</li><li><a href="normalizer.normalize.html">Normalizer::normalize</a> — Normalizes the input provided and returns the normalized string</li></ul></li><li><a href="class.messageformatter.html">MessageFormatter</a> — The MessageFormatter class<ul class="chunklist chunklist_book chunklist_children"><li><a href="messageformatter.create.html">MessageFormatter::create</a> — Constructs a new Message Formatter</li><li><a href="messageformatter.formatmessage.html">MessageFormatter::formatMessage</a> — Quick format message</li><li><a href="messageformatter.format.html">MessageFormatter::format</a> — Format the message</li><li><a href="messageformatter.geterrorcode.html">MessageFormatter::getErrorCode</a> — Get the error code from last operation</li><li><a href="messageformatter.geterrormessage.html">MessageFormatter::getErrorMessage</a> — Get the error text from the last operation</li><li><a href="messageformatter.getlocale.html">MessageFormatter::getLocale</a> — Get the locale for which the formatter was created.</li><li><a href="messageformatter.getpattern.html">MessageFormatter::getPattern</a> — Get the pattern used by the formatter</li><li><a href="messageformatter.parsemessage.html">MessageFormatter::parseMessage</a> — Quick parse input string</li><li><a href="messageformatter.parse.html">MessageFormatter::parse</a> — Parse input string according to pattern</li><li><a href="messageformatter.setpattern.html">MessageFormatter::setPattern</a> — Set the pattern used by the formatter</li></ul></li><li><a href="class.intlcalendar.html">IntlCalendar</a> — The IntlCalendar class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intlcalendar.add.html">IntlCalendar::add</a> — Add a (signed) amount of time to a field</li><li><a href="intlcalendar.after.html">IntlCalendar::after</a> — Whether this objectʼs time is after that of the passed object</li><li><a href="intlcalendar.before.html">IntlCalendar::before</a> — Whether this objectʼs time is before that of the passed object</li><li><a href="intlcalendar.clear.html">IntlCalendar::clear</a> — Clear a field or all fields</li><li><a href="intlcalendar.construct.html">IntlCalendar::__construct</a> — Private constructor for disallowing instantiation</li><li><a href="intlcalendar.createinstance.html">IntlCalendar::createInstance</a> — Create a new IntlCalendar</li><li><a href="intlcalendar.equals.html">IntlCalendar::equals</a> — Compare time of two IntlCalendar objects for equality</li><li><a href="intlcalendar.fielddifference.html">IntlCalendar::fieldDifference</a> — Calculate difference between given time and this objectʼs time</li><li><a href="intlcalendar.fromdatetime.html">IntlCalendar::fromDateTime</a> — Create an IntlCalendar from a DateTime object or string</li><li><a href="intlcalendar.get.html">IntlCalendar::get</a> — Get the value for a field</li><li><a href="intlcalendar.getactualmaximum.html">IntlCalendar::getActualMaximum</a> — The maximum value for a field, considering the objectʼs current time</li><li><a href="intlcalendar.getactualminimum.html">IntlCalendar::getActualMinimum</a> — The minimum value for a field, considering the objectʼs current time</li><li><a href="intlcalendar.getavailablelocales.html">IntlCalendar::getAvailableLocales</a> — Get array of locales for which there is data</li><li><a href="intlcalendar.getdayofweektype.html">IntlCalendar::getDayOfWeekType</a> — Tell whether a day is a weekday, weekend or a day that has a transition between the two</li><li><a href="intlcalendar.geterrorcode.html">IntlCalendar::getErrorCode</a> — Get last error code on the object</li><li><a href="intlcalendar.geterrormessage.html">IntlCalendar::getErrorMessage</a> — Get last error message on the object</li><li><a href="intlcalendar.getfirstdayofweek.html">IntlCalendar::getFirstDayOfWeek</a> — Get the first day of the week for the calendarʼs locale</li><li><a href="intlcalendar.getgreatestminimum.html">IntlCalendar::getGreatestMinimum</a> — Get the largest local minimum value for a field</li><li><a href="intlcalendar.getkeywordvaluesforlocale.html">IntlCalendar::getKeywordValuesForLocale</a> — Get set of locale keyword values</li><li><a href="intlcalendar.getleastmaximum.html">IntlCalendar::getLeastMaximum</a> — Get the smallest local maximum for a field</li><li><a href="intlcalendar.getlocale.html">IntlCalendar::getLocale</a> — Get the locale associated with the object</li><li><a href="intlcalendar.getmaximum.html">IntlCalendar::getMaximum</a> — Get the global maximum value for a field</li><li><a href="intlcalendar.getminimaldaysinfirstweek.html">IntlCalendar::getMinimalDaysInFirstWeek</a> — Get minimal number of days the first week in a year or month can have</li><li><a href="intlcalendar.getminimum.html">IntlCalendar::getMinimum</a> — Get the global minimum value for a field</li><li><a href="intlcalendar.getnow.html">IntlCalendar::getNow</a> — Get number representing the current time</li><li><a href="intlcalendar.getrepeatedwalltimeoption.html">IntlCalendar::getRepeatedWallTimeOption</a> — Get behavior for handling repeating wall time</li><li><a href="intlcalendar.getskippedwalltimeoption.html">IntlCalendar::getSkippedWallTimeOption</a> — Get behavior for handling skipped wall time</li><li><a href="intlcalendar.gettime.html">IntlCalendar::getTime</a> — Get time currently represented by the object</li><li><a href="intlcalendar.gettimezone.html">IntlCalendar::getTimeZone</a> — Get the objectʼs timezone</li><li><a href="intlcalendar.gettype.html">IntlCalendar::getType</a> — Get the calendar type</li><li><a href="intlcalendar.getweekendtransition.html">IntlCalendar::getWeekendTransition</a> — Get time of the day at which weekend begins or ends</li><li><a href="intlcalendar.indaylighttime.html">IntlCalendar::inDaylightTime</a> — Whether the objectʼs time is in Daylight Savings Time</li><li><a href="intlcalendar.isequivalentto.html">IntlCalendar::isEquivalentTo</a> — Whether another calendar is equal but for a different time</li><li><a href="intlcalendar.islenient.html">IntlCalendar::isLenient</a> — Whether date/time interpretation is in lenient mode</li><li><a href="intlcalendar.isset.html">IntlCalendar::isSet</a> — Whether a field is set</li><li><a href="intlcalendar.isweekend.html">IntlCalendar::isWeekend</a> — Whether a certain date/time is in the weekend</li><li><a href="intlcalendar.roll.html">IntlCalendar::roll</a> — Add value to field without carrying into more significant fields</li><li><a href="intlcalendar.set.html">IntlCalendar::set</a> — Set a time field or several common fields at once</li><li><a href="intlcalendar.setfirstdayofweek.html">IntlCalendar::setFirstDayOfWeek</a> — Set the day on which the week is deemed to start</li><li><a href="intlcalendar.setlenient.html">IntlCalendar::setLenient</a> — Set whether date/time interpretation is to be lenient</li><li><a href="intlcalendar.setminimaldaysinfirstweek.html">IntlCalendar::setMinimalDaysInFirstWeek</a> — Set minimal number of days the first week in a year or month can have</li><li><a href="intlcalendar.setrepeatedwalltimeoption.html">IntlCalendar::setRepeatedWallTimeOption</a> — Set behavior for handling repeating wall times at negative timezone offset transitions</li><li><a href="intlcalendar.setskippedwalltimeoption.html">IntlCalendar::setSkippedWallTimeOption</a> — Set behavior for handling skipped wall times at positive timezone offset transitions</li><li><a href="intlcalendar.settime.html">IntlCalendar::setTime</a> — Set the calendar time in milliseconds since the epoch</li><li><a href="intlcalendar.settimezone.html">IntlCalendar::setTimeZone</a> — Set the timezone used by this calendar</li><li><a href="intlcalendar.todatetime.html">IntlCalendar::toDateTime</a> — Convert an IntlCalendar into a DateTime object</li></ul></li><li><a href="class.intltimezone.html">IntlTimeZone</a> — The IntlTimeZone class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intltimezone.countequivalentids.html">IntlTimeZone::countEquivalentIDs</a> — Get the number of IDs in the equivalency group that includes the given ID</li><li><a href="intltimezone.createdefault.html">IntlTimeZone::createDefault</a> — Create a new copy of the default timezone for this host</li><li><a href="intltimezone.createenumeration.html">IntlTimeZone::createEnumeration</a> — Get an enumeration over time zone IDs associated with the
  given country or offset</li><li><a href="intltimezone.createtimezone.html">IntlTimeZone::createTimeZone</a> — Create a timezone object for the given ID</li><li><a href="intltimezone.fromdatetimezone.html">IntlTimeZone::fromDateTimeZone</a> — Create a timezone object from DateTimeZone</li><li><a href="intltimezone.getcanonicalid.html">IntlTimeZone::getCanonicalID</a> — Get the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID</li><li><a href="intltimezone.getdisplayname.html">IntlTimeZone::getDisplayName</a> — Get a name of this time zone suitable for presentation to the user</li><li><a href="intltimezone.getdstsavings.html">IntlTimeZone::getDSTSavings</a> — Get the amount of time to be added to local standard time to get local wall clock time</li><li><a href="intltimezone.getequivalentid.html">IntlTimeZone::getEquivalentID</a> — Get an ID in the equivalency group that includes the given ID</li><li><a href="intltimezone.geterrorcode.html">IntlTimeZone::getErrorCode</a> — Get last error code on the object</li><li><a href="intltimezone.geterrormessage.html">IntlTimeZone::getErrorMessage</a> — Get last error message on the object</li><li><a href="intltimezone.getgmt.html">IntlTimeZone::getGMT</a> — Create GMT (UTC) timezone</li><li><a href="intltimezone.getid.html">IntlTimeZone::getID</a> — Get timezone ID</li><li><a href="intltimezone.getoffset.html">IntlTimeZone::getOffset</a> — Get the time zone raw and GMT offset for the given moment in time</li><li><a href="intltimezone.getrawoffset.html">IntlTimeZone::getRawOffset</a> — Get the raw GMT offset (before taking daylight savings time into account</li><li><a href="intltimezone.gettzdataversion.html">IntlTimeZone::getTZDataVersion</a> — Get the timezone data version currently used by ICU</li><li><a href="intltimezone.hassamerules.html">IntlTimeZone::hasSameRules</a> — Check if this zone has the same rules and offset as another zone</li><li><a href="intltimezone.todatetimezone.html">IntlTimeZone::toDateTimeZone</a> — Convert to DateTimeZone object</li><li><a href="intltimezone.usedaylighttime.html">IntlTimeZone::useDaylightTime</a> — Check if this time zone uses daylight savings time</li></ul></li><li><a href="class.intldateformatter.html">IntlDateFormatter</a> — The IntlDateFormatter class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intldateformatter.create.html">IntlDateFormatter::create</a> — Create a date formatter</li><li><a href="intldateformatter.format.html">IntlDateFormatter::format</a> — Format the date/time value as a string</li><li><a href="intldateformatter.formatobject.html">IntlDateFormatter::formatObject</a> — Formats an object</li><li><a href="intldateformatter.getcalendar.html">IntlDateFormatter::getCalendar</a> — Get the calendar type used for the IntlDateFormatter</li><li><a href="intldateformatter.getdatetype.html">IntlDateFormatter::getDateType</a> — Get the datetype used for the IntlDateFormatter</li><li><a href="intldateformatter.geterrorcode.html">IntlDateFormatter::getErrorCode</a> — Get the error code from last operation</li><li><a href="intldateformatter.geterrormessage.html">IntlDateFormatter::getErrorMessage</a> — Get the error text from the last operation.</li><li><a href="intldateformatter.getlocale.html">IntlDateFormatter::getLocale</a> — Get the locale used by formatter</li><li><a href="intldateformatter.getpattern.html">IntlDateFormatter::getPattern</a> — Get the pattern used for the IntlDateFormatter</li><li><a href="intldateformatter.gettimetype.html">IntlDateFormatter::getTimeType</a> — Get the timetype used for the IntlDateFormatter</li><li><a href="intldateformatter.gettimezoneid.html">IntlDateFormatter::getTimeZoneId</a> — Get the timezone-id used for the IntlDateFormatter</li><li><a href="intldateformatter.getcalendarobject.html">IntlDateFormatter::getCalendarObject</a> — Get copy of formatterʼs calendar object</li><li><a href="intldateformatter.gettimezone.html">IntlDateFormatter::getTimeZone</a> — Get formatterʼs timezone</li><li><a href="intldateformatter.islenient.html">IntlDateFormatter::isLenient</a> — Get the lenient used for the IntlDateFormatter</li><li><a href="intldateformatter.localtime.html">IntlDateFormatter::localtime</a> — Parse string to a field-based time value</li><li><a href="intldateformatter.parse.html">IntlDateFormatter::parse</a> — Parse string to a timestamp value</li><li><a href="intldateformatter.setcalendar.html">IntlDateFormatter::setCalendar</a> — Sets the calendar type used by the formatter</li><li><a href="intldateformatter.setlenient.html">IntlDateFormatter::setLenient</a> — Set the leniency of the parser</li><li><a href="intldateformatter.setpattern.html">IntlDateFormatter::setPattern</a> — Set the pattern used for the IntlDateFormatter</li><li><a href="intldateformatter.settimezoneid.html">IntlDateFormatter::setTimeZoneId</a> — Sets the time zone to use</li><li><a href="intldateformatter.settimezone.html">IntlDateFormatter::setTimeZone</a> — Sets formatterʼs timezone</li></ul></li><li><a href="class.resourcebundle.html">ResourceBundle</a> — The ResourceBundle class<ul class="chunklist chunklist_book chunklist_children"><li><a href="resourcebundle.count.html">ResourceBundle::count</a> — Get number of elements in the bundle</li><li><a href="resourcebundle.create.html">ResourceBundle::create</a> — Create a resource bundle</li><li><a href="resourcebundle.geterrorcode.html">ResourceBundle::getErrorCode</a> — Get bundle's last error code.</li><li><a href="resourcebundle.geterrormessage.html">ResourceBundle::getErrorMessage</a> — Get bundle's last error message.</li><li><a href="resourcebundle.get.html">ResourceBundle::get</a> — Get data from the bundle</li><li><a href="resourcebundle.locales.html">ResourceBundle::getLocales</a> — Get supported locales</li></ul></li><li><a href="class.spoofchecker.html">Spoofchecker</a> — The Spoofchecker class<ul class="chunklist chunklist_book chunklist_children"><li><a href="spoofchecker.areconfusable.html">Spoofchecker::areConfusable</a> — Checks if a given text contains any confusable characters</li><li><a href="spoofchecker.construct.html">Spoofchecker::__construct</a> — Constructor</li><li><a href="spoofchecker.issuspicious.html">Spoofchecker::isSuspicious</a> — Checks if a given text contains any suspicious characters</li><li><a href="spoofchecker.setallowedlocales.html">Spoofchecker::setAllowedLocales</a> — Locales to use when running checks</li><li><a href="spoofchecker.setchecks.html">Spoofchecker::setChecks</a> — Set the checks to run</li></ul></li><li><a href="class.transliterator.html">Transliterator</a> — The Transliterator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="transliterator.construct.html">Transliterator::__construct</a> — Private constructor to deny instantiation</li><li><a href="transliterator.create.html">Transliterator::create</a> — Create a transliterator</li><li><a href="transliterator.createfromrules.html">Transliterator::createFromRules</a> — Create transliterator from rules</li><li><a href="transliterator.createinverse.html">Transliterator::createInverse</a> — Create an inverse transliterator</li><li><a href="transliterator.geterrorcode.html">Transliterator::getErrorCode</a> — Get last error code</li><li><a href="transliterator.geterrormessage.html">Transliterator::getErrorMessage</a> — Get last error message</li><li><a href="transliterator.listids.html">Transliterator::listIDs</a> — Get transliterator IDs</li><li><a href="transliterator.transliterate.html">Transliterator::transliterate</a> — Transliterate a string</li></ul></li><li><a href="class.intlbreakiterator.html">IntlBreakIterator</a> — The IntlBreakIterator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intlbreakiterator.construct.html">IntlBreakIterator::__construct</a> — Private constructor for disallowing instantiation</li><li><a href="intlbreakiterator.createcharacterinstance.html">IntlBreakIterator::createCharacterInstance</a> — Create break iterator for boundaries of combining character sequences</li><li><a href="intlbreakiterator.createcodepointinstance.html">IntlBreakIterator::createCodePointInstance</a> — Create break iterator for boundaries of code points</li><li><a href="intlbreakiterator.createlineinstance.html">IntlBreakIterator::createLineInstance</a> — Create break iterator for logically possible line breaks</li><li><a href="intlbreakiterator.createsentenceinstance.html">IntlBreakIterator::createSentenceInstance</a> — Create break iterator for sentence breaks</li><li><a href="intlbreakiterator.createtitleinstance.html">IntlBreakIterator::createTitleInstance</a> — Create break iterator for title-casing breaks</li><li><a href="intlbreakiterator.createwordinstance.html">IntlBreakIterator::createWordInstance</a> — Create break iterator for word breaks</li><li><a href="intlbreakiterator.current.html">IntlBreakIterator::current</a> — Get index of current position</li><li><a href="intlbreakiterator.first.html">IntlBreakIterator::first</a> — Set position to the first character in the text</li><li><a href="intlbreakiterator.following.html">IntlBreakIterator::following</a> — Advance the iterator to the first boundary following specified offset</li><li><a href="intlbreakiterator.geterrorcode.html">IntlBreakIterator::getErrorCode</a> — Get last error code on the object</li><li><a href="intlbreakiterator.geterrormessage.html">IntlBreakIterator::getErrorMessage</a> — Get last error message on the object</li><li><a href="intlbreakiterator.getlocale.html">IntlBreakIterator::getLocale</a> — Get the locale associated with the object</li><li><a href="intlbreakiterator.getpartsiterator.html">IntlBreakIterator::getPartsIterator</a> — Create iterator for navigating fragments between boundaries</li><li><a href="intlbreakiterator.gettext.html">IntlBreakIterator::getText</a> — Get the text being scanned</li><li><a href="intlbreakiterator.isboundary.html">IntlBreakIterator::isBoundary</a> — Tell whether an offset is a boundaryʼs offset</li><li><a href="intlbreakiterator.last.html">IntlBreakIterator::last</a> — Set the iterator position to index beyond the last character</li><li><a href="intlbreakiterator.next.html">IntlBreakIterator::next</a> — Advance the iterator the next boundary</li><li><a href="intlbreakiterator.preceding.html">IntlBreakIterator::preceding</a> — Set the iterator position to the first boundary before an offset</li><li><a href="intlbreakiterator.previous.html">IntlBreakIterator::previous</a> — Set the iterator position to the boundary immediately before the current</li><li><a href="intlbreakiterator.settext.html">IntlBreakIterator::setText</a> — Set the text being scanned</li></ul></li><li><a href="class.intlrulebasedbreakiterator.html">IntlRuleBasedBreakIterator</a> — The IntlRuleBasedBreakIterator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intlrulebasedbreakiterator.construct.html">IntlRuleBasedBreakIterator::__construct</a> — Create iterator from ruleset</li><li><a href="intlrulebasedbreakiterator.getbinaryrules.html">IntlRuleBasedBreakIterator::getBinaryRules</a> — Get the binary form of compiled rules</li><li><a href="intlrulebasedbreakiterator.getrules.html">IntlRuleBasedBreakIterator::getRules</a> — Get the rule set used to create this object</li><li><a href="intlrulebasedbreakiterator.getrulestatus.html">IntlRuleBasedBreakIterator::getRuleStatus</a> — Get the largest status value from the break rules that determined the current break position</li><li><a href="intlrulebasedbreakiterator.getrulestatusvec.html">IntlRuleBasedBreakIterator::getRuleStatusVec</a> — Get the status values from the break rules that determined the current break position</li></ul></li><li><a href="class.intlcodepointbreakiterator.html">IntlCodePointBreakIterator</a> — The IntlCodePointBreakIterator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intlcodepointbreakiterator.getlastcodepoint.html">IntlCodePointBreakIterator::getLastCodePoint</a> — Get last code point passed over after advancing or receding the iterator</li></ul></li><li><a href="class.intlpartsiterator.html">IntlPartsIterator</a> — The IntlPartsIterator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intlpartsiterator.getbreakiterator.html">IntlPartsIterator::getBreakIterator</a> — Get IntlBreakIterator backing this parts iterator</li></ul></li><li><a href="class.uconverter.html">UConverter</a> — The UConverter class<ul class="chunklist chunklist_book chunklist_children"><li><a href="uconverter.construct.html">UConverter::__construct</a> — Create UConverter object</li><li><a href="uconverter.convert.html">UConverter::convert</a> — Convert string from one charset to another</li><li><a href="uconverter.fromucallback.html">UConverter::fromUCallback</a> — Default &quot;from&quot; callback function</li><li><a href="uconverter.getaliases.html">UConverter::getAliases</a> — Get the aliases of the given name</li><li><a href="uconverter.getavailable.html">UConverter::getAvailable</a> — Get the available canonical converter names</li><li><a href="uconverter.getdestinationencoding.html">UConverter::getDestinationEncoding</a> — Get the destination encoding</li><li><a href="uconverter.getdestinationtype.html">UConverter::getDestinationType</a> — Get the destination converter type</li><li><a href="uconverter.geterrorcode.html">UConverter::getErrorCode</a> — Get last error code on the object</li><li><a href="uconverter.geterrormessage.html">UConverter::getErrorMessage</a> — Get last error message on the object</li><li><a href="uconverter.getsourceencoding.html">UConverter::getSourceEncoding</a> — Get the source encoding</li><li><a href="uconverter.getsourcetype.html">UConverter::getSourceType</a> — Get the source convertor type</li><li><a href="uconverter.getstandards.html">UConverter::getStandards</a> — Get standards associated to converter names</li><li><a href="uconverter.getsubstchars.html">UConverter::getSubstChars</a> — Get substitution chars</li><li><a href="uconverter.reasontext.html">UConverter::reasonText</a> — Get string representation of the callback reason</li><li><a href="uconverter.setdestinationencoding.html">UConverter::setDestinationEncoding</a> — Set the destination encoding</li><li><a href="uconverter.setsourceencoding.html">UConverter::setSourceEncoding</a> — Set the source encoding</li><li><a href="uconverter.setsubstchars.html">UConverter::setSubstChars</a> — Set the substitution chars</li><li><a href="uconverter.toucallback.html">UConverter::toUCallback</a> — Default &quot;to&quot; callback function</li><li><a href="uconverter.transcode.html">UConverter::transcode</a> — Convert string from one charset to another</li></ul></li><li><a href="ref.intl.grapheme.html">Grapheme 函数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.grapheme-extract.html">grapheme_extract</a> — Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.</li><li><a href="function.grapheme-stripos.html">grapheme_stripos</a> — Find position (in grapheme units) of first occurrence of a case-insensitive string</li><li><a href="function.grapheme-stristr.html">grapheme_stristr</a> — Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack.</li><li><a href="function.grapheme-strlen.html">grapheme_strlen</a> — Get string length in grapheme units</li><li><a href="function.grapheme-strpos.html">grapheme_strpos</a> — Find position (in grapheme units) of first occurrence of a string</li><li><a href="function.grapheme-strripos.html">grapheme_strripos</a> — Find position (in grapheme units) of last occurrence of a case-insensitive string</li><li><a href="function.grapheme-strrpos.html">grapheme_strrpos</a> — Find position (in grapheme units) of last occurrence of a string</li><li><a href="function.grapheme-strstr.html">grapheme_strstr</a> — Returns part of haystack string from the first occurrence of needle to the end of haystack.</li><li><a href="function.grapheme-substr.html">grapheme_substr</a> — Return part of a string</li></ul></li><li><a href="ref.intl.idn.html">IDN 函数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.idn-to-ascii.html">idn_to_ascii</a> — Convert domain name to IDNA ASCII form.</li><li><a href="function.idn-to-unicode.html">idn_to_unicode</a> — 别名 idn_to_utf8</li><li><a href="function.idn-to-utf8.html">idn_to_utf8</a> — Convert domain name from IDNA ASCII to Unicode.</li></ul></li><li><a href="class.intlexception.html">IntlException</a> — Exception class for intl errors</li><li><a href="class.intliterator.html">IntlIterator</a> — The IntlIterator class<ul class="chunklist chunklist_book chunklist_children"><li><a href="intliterator.current.html">IntlIterator::current</a> — Get the current element</li><li><a href="intliterator.key.html">IntlIterator::key</a> — Get the current key</li><li><a href="intliterator.next.html">IntlIterator::next</a> — Move forward to the next element</li><li><a href="intliterator.rewind.html">IntlIterator::rewind</a> — Rewind the iterator to the first element</li><li><a href="intliterator.valid.html">IntlIterator::valid</a> — Check if curent position is valid</li></ul></li><li><a href="ref.intl.html">intl 函数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.intl-error-name.html">intl_error_name</a> — Get symbolic name for a given error code</li><li><a href="function.intl-get-error-code.html">intl_get_error_code</a> — Get the last error code</li><li><a href="function.intl-get-error-message.html">intl_get_error_message</a> — Get description of the last error</li><li><a href="function.intl-is-failure.html">intl_is_failure</a> — Check whether the given error code indicates failure</li></ul></li></ul></div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ob-iconv-handler.html">ob_iconv_handler</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intro.intl.html">简介</a></div>
 <div class="up"><a href="refs.international.html">国际化与字符编码支持</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
